package com.dzu.gulimall.order.to;

import com.dzu.gulimall.order.entity.OrderEntity;
import com.dzu.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ZhaoDong
 * @date 2022/7/19 21:41
 * @description gulimall
 */
@Data
public class OrderCreateTo {
    /**
     * 订单信息
     */
    private OrderEntity order;
    /**
     * 订单项信息
     */
    private List<OrderItemEntity> orderItems;

    /**
     * 订单计算的对应价格
     */
    private BigDecimal payPrice;

    /**
     * 运费
     */
    private BigDecimal fare;
}
